package com.zhb.lkd.service;

import com.zhb.lkd.pojos.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haibin
 * @since 2024-08-18
 */
public interface IOrderService extends IService<Order> {
    /**
     * 订单统计
     * @param start
     * @param end
     * @return
     */
    Long orderCount(LocalDateTime start, LocalDateTime end);

    /**
     * 销售额统计
     * @param start
     * @param end
     * @return
     */
    Long orderAmount(LocalDateTime start, LocalDateTime end);
}
